package com.xiaoshuidi.cloud.module.iot.dal.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;

/**
 * @BelongsProject: lease-module-iot
 * @BelongsPackage: spring.cloud.sdiot.client.model.device
 * @Author: James
 * @CreateTime: 2023-06-14  13:55
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@TableName("tb_device_price")
public class DevicePrice extends TenantBaseDO {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 年度总度数
     */
    @TableField(value = "read_account")
    private Double readAccount;


    /**
     * 设备编号
     */
    @TableField(value = "device_no")
    private String deviceNo;

    /**
     * 第三方设备被编号
     */
    @TableField(value = "device_thire_no")
    private String deviceThireNo;

    /**
     * 年度
     */
    @TableField(value = "year")
    private Long year;

    /**
     * 尖年度总读数
     */
    @TableField(value = "spike_read_account")
    private Double spikeReadAccount;

    /**
     * 峰年度总读数
     */
    @TableField(value = "peak_read_account")
    private Double peakReadAccount;

    /**
     * 平年度总读数
     */
    @TableField(value = "plain_read_account")
    private Double plainReadAccount;

    /**
     * 谷年度总读数
     */
    @TableField(value = "valley_read_account")
    private Double valleyReadAccount;
}
